package com.ruoyi.core.domain;

import java.util.Date;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 卡卷剔除对象 delete_code
 * 
 * @author lgc
 * @date 2020-08-11
 */
public class DeleteCode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long deleteCodeId;

    /** 卡卷号--物流吗 */
    @Excel(name = "卡卷号--物流吗")
    private String logisticsCode;

    /** 卡卷密码--防伪码-前4位为防伪标识如0020 */
    @Excel(name = "卡卷密码--防伪码-前4位为防伪标识如0020")
    private String fwCode;

    /** id */
    @Excel(name = "id")
    private Long userId;

    /** 剔除状况 */
    @Excel(name = "剔除状况")
    private Long isDeleted;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createdBy;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdDate;

    /** 产品Id */
    @Excel(name = "产品Id")
    private Long productId;

    /** 剔除卡券序号 */
    @Excel(name = "剔除卡券序号")
    private Long deleteSerialCode;

    public void setDeleteCodeId(Long deleteCodeId) 
    {
        this.deleteCodeId = deleteCodeId;
    }

    public Long getDeleteCodeId() 
    {
        return deleteCodeId;
    }
    public void setLogisticsCode(String logisticsCode) 
    {
        this.logisticsCode = logisticsCode;
    }

    public String getLogisticsCode() 
    {
        return logisticsCode;
    }
    public void setFwCode(String fwCode) 
    {
        this.fwCode = fwCode;
    }

    public String getFwCode() 
    {
        return fwCode;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }
    public void setCreatedBy(Long createdBy) 
    {
        this.createdBy = createdBy;
    }

    public Long getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedDate(Date createdDate) 
    {
        this.createdDate = createdDate;
    }

    public Date getCreatedDate() 
    {
        return createdDate;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setDeleteSerialCode(Long deleteSerialCode) 
    {
        this.deleteSerialCode = deleteSerialCode;
    }

    public Long getDeleteSerialCode() 
    {
        return deleteSerialCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("deleteCodeId", getDeleteCodeId())
            .append("logisticsCode", getLogisticsCode())
            .append("fwCode", getFwCode())
            .append("userId", getUserId())
            .append("isDeleted", getIsDeleted())
            .append("createdBy", getCreatedBy())
            .append("createdDate", getCreatedDate())
            .append("productId", getProductId())
            .append("deleteSerialCode", getDeleteSerialCode())
            .toString();
    }
}
